package net.mikoo.seals.boss.biz.mapper.boss;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import net.mikoo.seals.boss.model.Agent;
import net.mikoo.seals.boss.model.AgentQuery;

@MapperScan
public interface AgentMapper {

	Integer insert(Agent agent);

	Integer update(Agent agent);

	Agent selectInfoById(Long agentId);

	List<Agent> selectByQueryToPage(AgentQuery query);

	Integer countByQueryToPage(AgentQuery query);

	Agent selectInfoByQuery(AgentQuery query);

	Integer delete(Agent agent);

	Integer updateManagerAccount(Agent agent);

	List<Agent> selectListByQuery(AgentQuery query);
}
